﻿using System;

namespace Ucto.ToExcelConvertor.Tests
{
	public class ExcelSheetMock : IExcelSheet
	{
		public int X { get; private set; }
		public int Y { get; private set; }

		public object Cell { get; private set; }

		public object this[int x, int y]
		{
			get
			{
				return Cell;
			}
			set
			{
				Cell = value;
				this.X = x;
				this.Y = y;
			}
		}
	}
}
